<script>
function marks(id){
	var answer = confirm("Bạn có chắc chắn muốn xóa không?")
    if (answer){
        window.location = "<?php echo $this->baseUrl(); ?>/administrator/news/delete/id/"+id;
    }
    
    return false;
    
}
</script>
<article class="module width_full">
    <header>
      <h3 class="tabs_involved">Thống kê application</h3>

    </header>
    <div class="module_content">
		<?php if (isset($this->from_time) && isset($this->to_time)): ?>
			<h3>(Thời gian từ <?php echo $this->from_time?> đến <?php echo $this->to_time?>)</h3>
		<?php endif ?>        
        <table cellspacing="0" class="tablesorter tablesorterBorder">
        <thead>
        <tr>
              
                <th width="300">Họ Tên</th>
                <th width="180">Username</th>
                <th width="180">Email</th>
                
        </tr>
        </thead>
       <?php foreach($this->data as $key=>$value):
       $class = null;
            if ($key % 2 == 0) {
                $class = ' class="altrow"';
            }
       ?>
       <tr <?php echo $class;?>>
                <td><?php echo $value['firstname']." ".$value['lastname'];?></td>
                <td><?php echo $value['user_name'];?></td>
                <td><?php echo $value['email'];?></td>
        </tr>
        <?php endforeach;?>
        </table>
    </div>
	
 
	
</article>